﻿using Shop.RemoteModel.PageModuleGoods.Model;
using Shop.RemoteModel.SpuGoods.Model;
using Shop.StoreGatewayModular.Model.ModuleGoods;
using WeDonekRpc.Client;
using WeDonekRpc.HttpApiGateway.Model;

namespace Shop.StoreGatewayModular.Interface
{
    public interface IModuleGoodsService
    {
        PagingResult<SpuDatum> Query ( PagingParam<SpuGetArg> param );
        void Delete ( long id );
        void Delete ( long[] ids );
        ModuleGoodsDto[] Gets ( long tModuleId, string tag );
        Dictionary<long, int> SetSort ( long id, int sort );
        ModuleGoodsDto[] Sync ( ModuleGoodsAdd add );
        SpuDatum[] GetTops ( SpuGetTopArg obj );
    }
}